package com.pur.zsms.common.vo;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
/**
 * 所有实体对象的基类
 */
@SuppressWarnings("serial")
public class BaseEntity implements java.io.Serializable{
	public String toString(){
		return ReflectionToStringBuilder.toString(this);
	}
	public int hashCode(){
		return HashCodeBuilder.reflectionHashCode(this);
	}
	public boolean equals(Object obj){
		return EqualsBuilder.reflectionEquals(this, obj);
	}
}